#!/bin/bash
# Get the dashboard token for admin user
kubectl -n kubernetes-dashboard describe secret `kubectl -n kubernetes-dashboard get secret|grep admin-user |cut -d " " -f1`|grep "token:"|tr -s " "|cut -d " " -f2
